{{include template('public/header','home')}}
<link href="{{STATIC_URL}}/home/vote.css?v{{random(4)}}" rel="stylesheet">
<ul id="breadcrumb" name="breadcrumb" class="breadcrumb mavbar-breadcrumb">
    <li><a href="/"><i class="fa fa-home fa-fw"></i>首页</a></li>
    <li class="active"><a href="/vote/index/lists">投票</a></li>
</ul>
<div class="vote_tp">
    <div class="page_content">
        <div class="vote_result">
            <div class="c_box wrap">
                <table width="100%" class="table" >
                    <caption><h5 style="float:left;">标题: {{$vote_subject.subject}} </h5><span style="float:right;"> 总票数：{{$vote_data['total']}}</span></caption>
                    {{$i=0}}
                    {{foreach $vote_options as $item}}
                    <tr>
                        <th style="width: 20px;">{{$i++}}</th>
                        <td class="tp_tit">{{$item.option}}</td>
                        <td class="tdcol3">{{$item.per}}%</td>
                        <td ><div><img src="static/home/vote/tit_cs.jpg" width="{{$item.per}}%" /></div></td>
                        <td class="tdcol3"><font color=red>{{$item.num}}</font> 票</td>
                    </tr>
                    {{/foreach}}
                </table>
            </div>
        </div>
        <div class="vote_listt">

        </div>
    </div>

    <div class="clearfix"></div>
</div>
{{include template('public/footer','home')}}
